import React from 'react';
import classnames from 'classnames';

const Icon: React.FC<{name: string, className?: string}> = ({name, className}) => (
  <svg className={classnames('icon', className)} aria-hidden="true">
    <use xlinkHref={`#${name}`}></use>
  </svg>
)


export default Icon
